#ifndef RECTANGLE_H
#define RECTANGLE_H
#include <QPainter>
#include "shape.h"

class Rectangle:public Shape{
public:
    void paint(QPainter &painter){
        painter.drawRect(start.x(),start.y(),end.x()-start.x(),end.y()-start.y());
    }
    ~Rectangle(){}
};

#endif // RECTANGLE_H
